<template>
	<normal-paging v-bind="normalPagingConfig">
		<template #top>
			<custom-nav v-bind="navConfig" />
		</template>
		<template #dataList="{item}">
			<Item :info="item"/>
		</template>
	</normal-paging>
</template>

<script>
	import {
		mapState
	} from "vuex";
	import navConfig from './config/navConfig.js'
	import normalPagingConfig from './config/normalPagingConfig.js'
	import Item from './cps/item.vue'

	export default {
		components: {
			Item
		},
		computed: {
			...mapState({
				userInfo: state => state.login.userInfo
			}),
		},
		data() {
			return {
				navConfig,
				normalPagingConfig
			};
		},
		onLoad(options) {
			
		},
		onReady() {
			uni.setNavigationBarTitle({
				title: `${this.userInfo.wechat_info.title}`
			})
		},
		methods: {
		}
	}
</script>

<style lang="scss">

</style>